package com.shrct.businessprocess.customerservice.proxy;

import com.shrct.businessprocess.customerservice.proxy.IHasServiceRelatedProductsProxy;
import com.shrct.businessprocess.customerservice.proxy.RCServiceContractDelegateAction;
import com.uniquesoft.gwt.shared.GWTNamedEntity;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.customerservice.RCServiceContractDelegate")
public class RCServiceContractDelegateProxy extends GWTNamedEntity implements IHasServiceRelatedProductsProxy {
  public RCServiceContractDelegateProxy() {
    this.setClazzName("com.shrct.businessprocess.customerservice.RCServiceContractDelegate");
  }
  
  private String status;
  
  public void setStatus(final String status) {
    this.status = status;
  }
  
  public String getStatus() {
    return this.status;
  }
  
  public Boolean isActionValid(final RCServiceContractDelegateAction action) {
    return RCServiceContractDelegateManager.isActionValid(action,status);
  }
}
